package sanshui.system.trade.db.entity;

import java.io.Serializable;
import java.util.Date;

public class TradeLimitOrder implements Serializable {
    private Long limitId;

    private Long accId;

    private Long workerId;

    private Long userId;

    private Long limitPrice;

    private Long limitNum;

    private String targetCode;

    private Date timeOut;

    private Date createTime;

    private String phyFlg;

    private Date exeTime;

    private String opType;

    private static final long serialVersionUID = 1L;

    public Long getLimitId() {
        return limitId;
    }

    public void setLimitId(Long limitId) {
        this.limitId = limitId;
    }

    public Long getAccId() {
        return accId;
    }

    public void setAccId(Long accId) {
        this.accId = accId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getLimitPrice() {
        return limitPrice;
    }

    public void setLimitPrice(Long limitPrice) {
        this.limitPrice = limitPrice;
    }

    public Long getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(Long limitNum) {
        this.limitNum = limitNum;
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode == null ? null : targetCode.trim();
    }

    public Date getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Date timeOut) {
        this.timeOut = timeOut;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPhyFlg() {
        return phyFlg;
    }

    public void setPhyFlg(String phyFlg) {
        this.phyFlg = phyFlg == null ? null : phyFlg.trim();
    }

    public Date getExeTime() {
        return exeTime;
    }

    public void setExeTime(Date exeTime) {
        this.exeTime = exeTime;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType == null ? null : opType.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", limitId=").append(limitId);
        sb.append(", accId=").append(accId);
        sb.append(", workerId=").append(workerId);
        sb.append(", userId=").append(userId);
        sb.append(", limitPrice=").append(limitPrice);
        sb.append(", limitNum=").append(limitNum);
        sb.append(", targetCode=").append(targetCode);
        sb.append(", timeOut=").append(timeOut);
        sb.append(", createTime=").append(createTime);
        sb.append(", phyFlg=").append(phyFlg);
        sb.append(", exeTime=").append(exeTime);
        sb.append(", opType=").append(opType);
        sb.append("]");
        return sb.toString();
    }
}